home *** CD-ROM | disk | FTP | other *** search
/ The World of Computer Software / The World of Computer Software.iso / route-2.zip / INSTALL.DAT < prev    next >
Text File  |  1992-09-08  |  13KB  |  465 lines

  1. /*
  2. ** INSTALL.DAT
  3. ** This script file is used to install Tango-PCB/Route Eval Version 2.10
  4. */
  5.  
  6. @DefineProject
  7.    @NAME       = "Tango-PCB/Route Plus Eval"
  8.    @VERSION    = "2.10"
  9.    @SUBDIR     = "\\TANGO"
  10.    @OUTDRIVE   = C
  11.    @Requires   @HardDisk
  12. @EndProject
  13.  
  14.  
  15. @Welcome
  16.    @Cls
  17.                      @NAME Installation
  18.  
  19.     This INSTALL program installs @NAME Version @VERSION 
  20.     on your computer system and verifies the integrity of the 
  21.     distribution disks.
  22.  
  23.     You may press the <Esc> key at any time to abort the installation.
  24.  
  25.     INSTALL will ask you several questions about your computer hardware
  26.     before beginning the installation process.  Each question has a
  27.     default answer.  If the default answer is correct, press <Enter>
  28.     key in response to the question.  Otherwise, type the answer and
  29.     then press <Enter>.
  30.  
  31.     If you make a mistake while typing, press the <Backspace> key and
  32.     then retype the answer.
  33.  
  34.    @Pause
  35. @EndWelcome
  36.  
  37.  
  38. @GetOutDrive
  39.    @Cls
  40.     Install @NAME on disk drive (<Enter> = @OUTDRIVE) ?
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.       Use the <Up Arrow>, <Down Arrow>, <Pg Up>, & <Pg Dn> keys to 
  58.       move the bar to the desired drive, then press the <Enter> key.
  59. @EndOutDrive
  60.  
  61.  
  62. @GetSubdir
  63.    @Cls
  64.     Now you need to specify the destination subdirectory.  The subdirectory
  65.     is the location on your disk where @NAME will be
  66.     installed.  If you don't know what a "subdirectory" is, you probably
  67.     need not worry about it, and should press <Enter> to select the
  68.     default entry.
  69.  
  70.    @Prompt = "Install @NAME in directory (<Enter> = @SUBDIR) ?"
  71. @EndSubdir
  72.  
  73. @GetGroups
  74.    @Cls
  75.       Select the parts of @NAME you wish to install.  
  76.  
  77.  
  78.  
  79.  
  80.  
  81.  
  82.  
  83.  
  84.  
  85.  
  86.  
  87.  
  88.  
  89.  
  90.  
  91.  
  92.       Use the <Up Arrow>, <Down Arrow>, <Pg Up>, & <Pg Dn> keys to 
  93.       move the bar to the group you wish to install and then press 
  94.       the <Enter> key.
  95.  
  96.    @Set A = "Install All Files"
  97.    @Set P = "Install @NAME PCB Files Only"
  98.    @Set R = "Install @NAME Route Files Only"
  99. @EndGroups
  100.  
  101. /*
  102.  *  The following sets INSTALL to check for the right amount
  103.  *  of free disk space based on the installation option selected. 
  104.  */
  105.  
  106.  
  107. @Display
  108.    @If ('p' [= @Group)
  109.       @If (@DiskFree @OutDrive < 1800000)
  110.          The selected destination drive only has @DiskFree @OutDrive 
  111.          bytes free.  This configuration requires 1.8M bytes.
  112.    
  113.          @Abort
  114.       @Else
  115.          @Cls
  116.  
  117.           You have chosen to install only the @NAME 
  118.           PCB files on drive @Outdrive.
  119.  
  120.  
  121.       @EndIf
  122.    @ElseIf ('r' [= @Group)
  123.       @If (@DiskFree @OutDrive < 1000000)
  124.          The selected destination drive only has @DiskFree @OutDrive 
  125.          bytes free.  This configuration requires 1M bytes.
  126.    
  127.          @Abort
  128.       @Else
  129.          @Cls
  130.  
  131.           You have chosen to install only the @NAME 
  132.           Route files on drive @Outdrive.
  133.  
  134.  
  135.       @EndIf
  136.    @Else
  137.       @If (@DiskFree @OutDrive < 2500000)
  138.          The selected destination drive only has @DiskFree @OutDrive 
  139.          bytes free.  This configuration requires 2.5M bytes.
  140.    
  141.          @Abort
  142.       @Else
  143.          @Cls
  144.  
  145.   You have chosen to install all @NAME files on drive @Outdrive.
  146.  
  147.  
  148.       @EndIf
  149.    @EndIf
  150.  
  151.    @Pause
  152. @EndDisplay
  153.  
  154.  
  155. @If ('a' [= @Group || 'p' [= @Group)
  156.   @GetOption
  157.    @Cls
  158.       Please select your display:
  159.  
  160.       @Option 01 = "ATI VGAWONDER Adapter (800x600, 16 colors)"
  161.       @Option 19 = "ATI VGA WONDER XL, ATI ULTRA (1024x768, 16 colors)"
  162.       @Option 26 = "Diamond Speedstar (800x600, 16 colors)"
  163.       @Option 27 = "Diamond Speedstar (1024x768, 16 colors)"
  164.       @Option 24 = "Diamond Stealth (800x600, 16 colors)"
  165.       @Option 25 = "Diamond Stealth (1024x768, 16 colors)"
  166.       @Option 02 = "Enhanced Graphics Adapter (640x350, 16 colors)"
  167.       @Option 03 = "Everex EV-654 Graphics Adapter (640x350, 16 colors)"
  168.       @Option 04 = "GENOA SuperVGA Adapter Card (800x600, 16 colors)"
  169.       @Option 05 = "GENOA SuperVGA Adapter Card (1024x768, 16 colors)"
  170.       @Option 06 = "Hercules Graphics Controller (720x348, monochrome)"
  171.       @Option 07 = "IBM MCGA (640x480, monochrome)"
  172.       @Option 20 = "Oak OTI-067 VGA (800x600, 16 colors)"
  173.       @Option 21 = "Oak OTI_067 VGA (1024x768, 16 colors)"
  174.       @Option 22 = "Orchid Fahrenheit 1280 (800x600, 16 colors)"
  175.       @Option 23 = "Orchid Fahrenheit 1280 (1024x768, 16 colors)"
  176.       @Option 08 = "Orchid Prodesigner Plus VGA (800x600, 16 colors)"
  177.       @Option 09 = "Orchid Prodesigner Plus VGA (1024x768, 16 colors)"
  178.       @Option 10 = "Paradise VGA (800x600, 16 colors)"
  179.       @Option 11 = "TIGA Compatable (All modes, 16 colors)"
  180.       @Option 28 = "Trident 8900 Series (800x600, 16 colors)"
  181.       @Option 29 = "Trident 8900 Series (1024x768, 16 colors)"
  182.       @Option 17 = "Tseng 4000 Series (800x600, 16 colors)"
  183.       @Option 18 = "Tseng 4000 Series (1024x768, 16 colors)"
  184.       @Option 12 = "IBM Video Graphics Array (640x480, 16 colors)"
  185.       @Option 13 = "Video 7 Vega Deluxe (640x480, 16 colors)"
  186.       @Option 14 = "Video 7 VGA (720x540, 16 colors)"
  187.       @Option 15 = "Video 7 Fastwrite (800x600, 16 colors)"
  188.       @Option 16 = "Video 7 VRAM (1024x768, 16 colors)"
  189.   @EndOption
  190. @Endif
  191.  
  192. @If ('a' [= @Group || 'p' [= @Group || 'r' [= @Group)
  193.    @DefineDisk
  194.       @Label = "Disk 1"
  195.       @File PCBEVAL.DOC
  196.       @BeginLib PCB1.LIF
  197.         @File PCB.EXE @Group AP
  198.         @File PCB.MSG @Group AP
  199.         @File ROUTE.EXE @Group AR
  200.         @File ROUTE.MSG @Group AR
  201.       @EndLib
  202.    @EndDisk
  203. @EndIf
  204.  
  205. @If ('a' [= @Group || 'p' [= @Group || 'r' [= @Group)
  206.   @DefineDisk
  207.     @Label = "Disk 2"
  208.       @BeginLib PCB2.LIF
  209.             @File ATI800.DRV @Group AP
  210.             @File EGA.DRV @Group AP
  211.             @File EVXEGA.DRV @Group AP
  212.             @File GEN800.DRV @Group AP
  213.             @File GEN1024.DRV @Group AP
  214.             @File HERCULES.DRV @Group AP
  215.             @File MCGA.DRV @Group AP
  216.             @File ORC800.DRV @Group AP
  217.             @File ORC1024.DRV @Group AP
  218.             @File PARA800.DRV @Group AP
  219.             @File TIGA.DRV @Group AP
  220.             @File VGA.DRV @Group AP
  221.             @File VSEVDLX.DRV @Group AP
  222.             @File VSEV720.DRV @Group AP
  223.             @File VSEV800.DRV @Group AP
  224.             @File TRI800.DRV @Group AP
  225.             @File TRI1024.DRV @Group AP
  226.             @File TSENG800.DRV @Group AP
  227.             @File TSENG1K.DRV @Group AP
  228.             @File ATI1K.DRV @Group AP
  229.             @File OAK800.DRV @Group AP
  230.             @File OAK1K.DRV @Group AP
  231.             @File ORCS3800.DRV @Group AP
  232.             @File ORCS31K.DRV @Group AP
  233.             @File CUSTOM.EXE @Group AP
  234.             @File CUSTOM.DOC @Group AP
  235.             @File SVGA.DRV @Group AP
  236.             @File VSEV1024.DRV @Group AP
  237.       /*
  238.       ** Install the output drivers.
  239.       */
  240.             @File CALCOMP.DRV @Group AP
  241.             @File DMPL.DRV @Group AP
  242.             @File EPSFX120.DRV @Group AP
  243.             @File EPSFX240.DRV @Group AP
  244.             @File EPSLQ180.DRV @Group AP
  245.             @File HPDJ150.DRV @Group AP
  246.             @File HPDJ300.DRV @Group AP
  247.             @File HPGL.DRV @Group AP
  248.             @File HPLJ150.DRV @Group AP
  249.             @File HPLJ300.DRV @Group AP
  250.             @File HPPJ180M.DRV @Group AP
  251.             @File IBM120.DRV @Group AP
  252.             @File IBM240.DRV @Group AP
  253.             @File RDXY800.DRV @Group AP
  254.             @File STAR240.DRV @Group AP
  255.             @File TOSH180.DRV @Group AP
  256.             @File GERBER.DRV @Group AP
  257.             @File      COLOR.DAT @Group AP
  258.             @File       MONO.DAT @Group AP
  259.             @File        PCB.DFN @Group AP
  260.             @File      DEMO1.PCB @Group APR
  261.             @File      DEMO1.SET @Group APR
  262.             @File     RDEMO1.PCB @Group APR
  263.             @File      DEMO2.PCB @Group APR
  264.             @File      DEMO2.SET @Group APR
  265.             @File      DEMO2.NET @Group AP
  266.             @File     RDEMO2.PCB @Group APR
  267.             @File    VGADEMO.PCB @Group APR
  268.             @File    VGADEMO.TOP @Group AP
  269.             @File    IBMCARD.PCB @Group AP
  270.             @File    PCBEVAL.LIB @Group AP
  271.             @File    PCB.KEY @Group AP
  272.       @EndLib
  273.   @EndDisk
  274. @EndIf
  275.  
  276. @If ('a' [= @Group || 'p' [= @Group)
  277.   /*
  278.   **  Create PCB.INI file using appropriate graphics driver.
  279.   */
  280.   @Finish
  281.      @Cls
  282.      @ChDrive @OUTDRIVE
  283.      @ChDir "@SUBDIR"
  284.      @System "Echo VERSION 1 3 > pcb.ini"
  285.   
  286.      @If (01 [= @Option)
  287.         @System "Echo FILE_GRA \"@OUTDRIVE:@SUBDIR\\ATI800.DRV\"  >> pcb.ini"
  288.       @Endif
  289.   
  290.      @If (02 [= @Option)
  291.         @System "Echo FILE_GRA \"@OUTDRIVE:@SUBDIR\\EGA.DRV\"  >> pcb.ini"
  292.      @Endif
  293.   
  294.      @If (03 [= @Option)
  295.         @System "Echo FILE_GRA \"@OUTDRIVE:@SUBDIR\\EVXEGA.DRV\"  >> pcb.ini"
  296.       @Endif
  297.   
  298.      @If (04 [= @Option)
  299.         @System "Echo FILE_GRA \"@OUTDRIVE:@SUBDIR\\GEN800.DRV\"  >> pcb.ini"
  300.      @Endif
  301.   
  302.      @If (05 [= @Option)
  303.         @System "Echo FILE_GRA \"@OUTDRIVE:@SUBDIR\\GEN1024.DRV\"  >> pcb.ini"
  304.      @Endif
  305.   
  306.      @If (06 [= @Option)
  307.         @System "Echo FILE_GRA \"@OUTDRIVE:@SUBDIR\\HERCULES.DRV\"  >> pcb.ini"
  308.      @Endif
  309.   
  310.      @If (07 [= @Option)
  311.         @System "Echo FILE_GRA \"@OUTDRIVE:@SUBDIR\\MCGA.DRV\"  >> pcb.ini"
  312.      @Endif
  313.   
  314.      @If (08 [= @Option)
  315.         @System "Echo FILE_GRA \"@OUTDRIVE:@SUBDIR\\ORC800.DRV\"  >> pcb.ini"
  316.      @Endif
  317.   
  318.      @If (09 [= @Option)
  319.         @System "Echo FILE_GRA \"@OUTDRIVE:@SUBDIR\\ORC1024.DRV\"  >> pcb.ini"
  320.      @Endif
  321.   
  322.      @If (10 [= @Option)
  323.         @System "Echo FILE_GRA \"@OUTDRIVE:@SUBDIR\\PARA800.DRV\"  >> pcb.ini"
  324.      @Endif
  325.   
  326.      @If (11 [= @Option)
  327.         @System "Echo FILE_GRA \"@OUTDRIVE:@SUBDIR\\TIGA.DRV\"  >> pcb.ini"
  328.      @Endif
  329.   
  330.      @If (12 [= @Option)
  331.         @System "Echo FILE_GRA \"@OUTDRIVE:@SUBDIR\\VGA.DRV\"  >> pcb.ini"
  332.      @Endif
  333.   
  334.      @If (13 [= @Option)
  335.         @System "Echo FILE_GRA \"@OUTDRIVE:@SUBDIR\\VSEVDLX.DRV\"  >> pcb.ini"
  336.      @Endif
  337.  
  338.      @If (14 [= @Option)
  339.         @System "Echo FILE_GRA \"@OUTDRIVE:@SUBDIR\\VSEV720.DRV\"  >> pcb.ini"
  340.      @Endif
  341.     
  342.      @If (15 [= @Option)
  343.         @System "Echo FILE_GRA \"@OUTDRIVE:@SUBDIR\\VSEV800.DRV\"  >> pcb.ini"
  344.      @Endif
  345.   
  346.      @If (16 [= @Option)
  347.         @System "Echo FILE_GRA \"@OUTDRIVE:@SUBDIR\\VSEV1024.DRV\"  >> pcb.ini"
  348.     @Endif
  349.  
  350.      @If (17 [= @Option)
  351.         @System "Echo FILE_GRA \"@OUTDRIVE:@SUBDIR\\TSENG800.DRV\"  >> pcb.ini"
  352.     @Endif
  353.   
  354.      @If (18 [= @Option)
  355.         @System "Echo FILE_GRA \"@OUTDRIVE:@SUBDIR\\TSENG1K.DRV\"  >> pcb.ini"
  356.     @Endif
  357.   
  358.      @If (19 [= @Option)
  359.         @System "Echo FILE_GRA \"@OUTDRIVE:@SUBDIR\\ATI1K.DRV\"  >> pcb.ini"
  360.     @Endif
  361.   
  362.      @If (20 [= @Option)
  363.         @System "Echo FILE_GRA \"@OUTDRIVE:@SUBDIR\\OAK800.DRV\"  >> pcb.ini"
  364.     @Endif
  365.   
  366.      @If (21 [= @Option)
  367.         @System "Echo FILE_GRA \"@OUTDRIVE:@SUBDIR\\OAK1K.DRV\"  >> pcb.ini"
  368.     @Endif
  369.  
  370.      @If (22 [= @Option)
  371.         @System "Echo FILE_GRA \"@OUTDRIVE:@SUBDIR\\ORCS3800.DRV\"  >> pcb.ini"
  372.     @Endif
  373.  
  374.      @If (23 [= @Option)
  375.         @System "Echo FILE_GRA \"@OUTDRIVE:@SUBDIR\\ORCS31K.DRV\"  >> pcb.ini"
  376.     @Endif
  377.  
  378.      @If (24 [= @Option)
  379.         @System "Echo FILE_GRA \"@OUTDRIVE:@SUBDIR\\ORCS3800.DRV\"  >> pcb.ini"
  380.     @Endif
  381.  
  382.      @If (25 [= @Option)
  383.         @System "Echo FILE_GRA \"@OUTDRIVE:@SUBDIR\\ORCS31K.DRV\"  >> pcb.ini"
  384.     @Endif
  385.  
  386.      @If (26 [= @Option)
  387.         @System "Echo FILE_GRA \"@OUTDRIVE:@SUBDIR\\TSENG800.DRV\"  >> pcb.ini"
  388.     @Endif
  389.   
  390.      @If (27 [= @Option)
  391.         @System "Echo FILE_GRA \"@OUTDRIVE:@SUBDIR\\TSENG1K.DRV\"  >> pcb.ini"
  392.     @Endif
  393.   
  394.      @If (28 [= @Option)
  395.         @System "Echo FILE_GRA \"@OUTDRIVE:@SUBDIR\\TRI800.DRV\"  >> pcb.ini"
  396.     @Endif
  397.   
  398.      @If (29 [= @Option)
  399.         @System "Echo FILE_GRA \"@OUTDRIVE:@SUBDIR\\TRI1024.DRV\"  >> pcb.ini"
  400.     @Endif
  401.  
  402.        @System "Echo PCB_OUT_DRIVER \"@OUTDRIVE:@SUBDIR\\HPGL.DRV\"  >> pcb.ini"
  403.   
  404.      /*
  405.      ** Append the appropriate data file.
  406.      */
  407.      @If (06 [= @Option || 07 [= @Option)
  408.         @System "copy pcb.ini+mono.dat pcb.ini"
  409.         @System "del color.dat"
  410.         @System "del mono.dat"
  411.      @Else                       
  412.         @System "copy pcb.ini+color.dat pcb.ini"
  413.         @System "del color.dat"
  414.         @System "del mono.dat"
  415.      @Endif
  416.  
  417.     @Cls
  418.     @ChDrive @OUTDRIVE
  419.     @ChDir "@SUBDIR"
  420.     Installation of @Name is complete.
  421.  
  422.     ATTENTION!
  423.     At this time we recommend that you print out and read the PCBEVAL.DOC
  424.     file for the most current information on Tango-PCB EVAL.
  425.  
  426.  
  427.  
  428.  
  429.  
  430.  
  431.  
  432.  
  433.  
  434.     @Pause
  435.  
  436.   @EndFinish
  437. @Else
  438.   @Finish
  439.     @Cls
  440.     @ChDrive @OUTDRIVE
  441.     @ChDir "@SUBDIR"
  442.     Installation of @Name is complete.
  443.  
  444.     ATTENTION!
  445.     At this time we recommend that you print out and read the PCBEVAL.DOC
  446.     file for the most current information on Tango-PCB EVAL.
  447.  
  448.  
  449.  
  450.  
  451.  
  452.  
  453.  
  454.  
  455.  
  456.  
  457.  
  458.  
  459.     @Pause
  460.   @EndFinish
  461. @Endif
  462.  
  463. /* end-of-file */
  464.  
  465.